<#macro adminLayout title>
    <#include "../macro/layout.ftl" />
    <@layout title="${title}">
    <div class="row">
        <div class="col-md-12">
            <div class="col-md-2">
                <ul class="nav nav-pills nav-stacked">
                    <li role="presentation" <#if activeSlideItem=="home" >class="active"</#if> ><a href="${request.contextPath}/admin/home">主页</a></li>
                    <li role="presentation" <#if activeSlideItem=="user" >class="active"</#if> ><a href="${request.contextPath}/admin/user-list">所有用户</a></li>
                    <li role="presentation" <#if activeSlideItem=="domain" >class="active"</#if> ><a href="${request.contextPath}/admin/domain-list">领域分类</a></li>
                    <li role="presentation" <#if activeSlideItem=="tag" >class="active"</#if> ><a href="${request.contextPath}/admin/tag-list">标签</a></li>
                    <li role="presentation" <#if activeSlideItem=="article" >class="active"</#if> ><a href="${request.contextPath}/admin/article-list">全部文章</a></li>
                    <li role="presentation" <#if activeSlideItem=="profile" >class="active"</#if> ><a href="${request.contextPath}/admin/profile">系统配置</a></li>
                </ul>
            </div>
            <div class="col-md-10">
                <#nested>
            </div>
        </div>

    </div>
    </@layout>
</#macro>
